package com.zhanggm.springcloud.consul.config;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
@RefreshScope
@JsonIgnoreProperties("$$beanFactory")
@Getter
@Setter
@ConfigurationProperties(prefix = "config")
public class ConfigInfo {

    private String info;
}
